package com.example.test_app.bean;

public class Cjp {

    private Listener listener;

    public Listener getListener() {
        return listener;
    }

    public void setListener(Listener listener) {
        this.listener = listener;
    }

    public void init(String s){
        if (listener!=null){
            listener.onSuccess(s);
        }
    }

    public interface Listener{
       void  onSuccess(String s);
    }
}
